﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core.Plugin;
using COFE.Core.Logger;

namespace COFE.Core.Actions
{
    public static class COFEActionShared
    {
        public static IWorkScheduler WorkScheduler { get; set; }

        public static void Register()
        {
            COFEActionShared.WorkScheduler = new WorkScheduler();

            COFEShared.SecondaryPropertyProviderManager.Register<IEntryList>(
             new EntryListActionProvider());
            COFEShared.SecondaryPropertyProviderManager.Register<IEntryList>(
                new EntryActionProvider());
            COFEShared.SecondaryPropertyProviderManager.Register<IFileSystemInfo>(
                new EntryToOneEntryListPropertyProvider());

            COFEShared.PropertyDictionary.RegisterProperties<EntryListActions>();
            COFEShared.PropertyDictionary.RegisterProperties<EntryActions>();
            COFEShared.PropertyDictionary.RegisterProperties<InternalActions>();


        }
    }
}
